[INFO] cloning repository https://github.com/refx-online/refx-pp-ffi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/refx-online/refx-pp-ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frefx-online%2Frefx-pp-ffi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frefx-online%2Frefx-pp-ffi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd14cc73bfcf43e2526614efda0485de18b3f4b4
[INFO] fixing refx-online/refx-pp-ffi against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frefx-online%2Frefx-pp-ffi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/refx-online/refx-pp-ffi
[INFO] finished tweaking git repo https://github.com/refx-online/refx-pp-ffi
[INFO] tweaked toml for git repo https://github.com/refx-online/refx-pp-ffi written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/refx-online/refx-pp-ffi on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/refx-online/refx-pp-ffi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/refx-online/refx-pp-rs`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] fixing refx-online/refx-pp-ffi against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frefx-online%2Frefx-pp-ffi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/refx-online/refx-pp-ffi
[INFO] finished tweaking git repo https://github.com/refx-online/refx-pp-ffi
[INFO] tweaked toml for git repo https://github.com/refx-online/refx-pp-ffi written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/refx-online/refx-pp-ffi on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/refx-online/refx-pp-ffi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded interoptopus_proc v0.14.23
[INFO] [stderr]   Downloaded interoptopus_backend_csharp v0.14.25
[INFO] [stderr]   Downloaded interoptopus_backend_c v0.14.25
[INFO] [stderr]   Downloaded interoptopus_backend_cpython v0.14.25
[INFO] [stderr]   Downloaded interoptopus v0.14.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e43c1167d30c6ed5d9e4f7f3b1aa9cb77917da6952bcc5099ea0b85e0ddae95d
[INFO] running `Command { std: "docker" "start" "e43c1167d30c6ed5d9e4f7f3b1aa9cb77917da6952bcc5099ea0b85e0ddae95d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e43c1167d30c6ed5d9e4f7f3b1aa9cb77917da6952bcc5099ea0b85e0ddae95d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e43c1167d30c6ed5d9e4f7f3b1aa9cb77917da6952bcc5099ea0b85e0ddae95d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e43c1167d30c6ed5d9e4f7f3b1aa9cb77917da6952bcc5099ea0b85e0ddae95d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]     Checking heck v0.4.1
[INFO] [stderr]     Checking refx-pp v0.3.0 (https://github.com/refx-online/refx-pp-rs?rev=d9101517c26494d25c68759edb6659dee8fbdb82#d9101517)
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling interoptopus_proc v0.14.23
[INFO] [stderr]     Checking interoptopus v0.14.27
[INFO] [stderr]     Checking interoptopus_backend_c v0.14.25
[INFO] [stderr]     Checking interoptopus_backend_csharp v0.14.25
[INFO] [stderr]     Checking interoptopus_backend_cpython v0.14.25
[INFO] [stderr]     Checking refxpp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `refxpp`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: custom attribute panicked
[INFO] [stderr]              --> src/lib.rs:51:1
[INFO] [stderr]               |
[INFO] [stderr]            51 | #[ffi_function]
[INFO] [stderr]               | ^^^^^^^^^^^^^^^
[INFO] [stderr]               |
[INFO] [stderr]               = help: message: Must be item.: Error("expected path")
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: custom attribute panicked
[INFO] [stderr]               --> src/lib.rs:135:1
[INFO] [stderr]                |
[INFO] [stderr]            135 | #[ffi_function]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^
[INFO] [stderr]                |
[INFO] [stderr]                = help: message: Must be item.: Error("expected path")
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0425]: cannot find type `calculate_score` in this scope
[INFO] [stderr]               --> src/lib.rs:194:29
[INFO] [stderr]                |
[INFO] [stderr]            194 |         .register(function!(calculate_score))
[INFO] [stderr]                |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 3 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            For more information about this error, try `rustc --explain E0425`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:52:3
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let beatmap_path = CStr::from_ptr(beatmap_path).to_str().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | / pub unsafe extern "C" fn calculate_score(
[INFO] [stdout] 54 | |     beatmap_path: *const c_char,
[INFO] [stdout] 55 | |     mode: u32,
[INFO] [stdout] 56 | |     mods: u32,
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     notrefx: bool
[INFO] [stdout] 67 | | ) -> CalculatePerformanceResult {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let bytes = std::slice::from_raw_parts(beatmap_bytes, len as usize);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | / pub unsafe extern "C" fn calculate_score_bytes(
[INFO] [stdout] 138 | |     beatmap_bytes: *const u8, 
[INFO] [stdout] 139 | |     len: u32,
[INFO] [stdout] 140 | |     mode: u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 145 | |     passed_objects: FFIOption<u32>,
[INFO] [stdout] 146 | | ) -> CalculatePerformanceResult {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/py_bindings.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/csharp_bindings.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/c_bindings.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `refxpp`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: custom attribute panicked
[INFO] [stderr]              --> src/lib.rs:51:1
[INFO] [stderr]               |
[INFO] [stderr]            51 | #[ffi_function]
[INFO] [stderr]               | ^^^^^^^^^^^^^^^
[INFO] [stderr]               |
[INFO] [stderr]               = help: message: Must be item.: Error("expected path")
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:52:3
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            error: custom attribute panicked
[INFO] [stderr]               --> src/lib.rs:135:1
[INFO] [stderr]                |
[INFO] [stderr]            135 | #[ffi_function]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^
[INFO] [stderr]                |
[INFO] [stderr]                = help: message: Must be item.: Error("expected path")
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0425]: cannot find type `calculate_score` in this scope
[INFO] [stderr]               --> src/lib.rs:194:29
[INFO] [stderr]                |
[INFO] [stderr]            194 |         .register(function!(calculate_score))
[INFO] [stderr]                |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 3 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            For more information about this error, try `rustc --explain E0425`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let beatmap_path = CStr::from_ptr(beatmap_path).to_str().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | / pub unsafe extern "C" fn calculate_score(
[INFO] [stdout] 54 | |     beatmap_path: *const c_char,
[INFO] [stdout] 55 | |     mode: u32,
[INFO] [stdout] 56 | |     mods: u32,
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     notrefx: bool
[INFO] [stdout] 67 | | ) -> CalculatePerformanceResult {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let bytes = std::slice::from_raw_parts(beatmap_bytes, len as usize);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | / pub unsafe extern "C" fn calculate_score_bytes(
[INFO] [stdout] 138 | |     beatmap_bytes: *const u8, 
[INFO] [stdout] 139 | |     len: u32,
[INFO] [stdout] 140 | |     mode: u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 145 | |     passed_objects: FFIOption<u32>,
[INFO] [stdout] 146 | | ) -> CalculatePerformanceResult {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.37s
[INFO] [stderr] crater-edition-check: refxpp v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking refxpp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:52:3
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:52:3
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 136 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let beatmap_path = CStr::from_ptr(beatmap_path).to_str().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | / pub unsafe extern "C" fn calculate_score(
[INFO] [stdout] 54 | |     beatmap_path: *const c_char,
[INFO] [stdout] 55 | |     mode: u32,
[INFO] [stdout] 56 | |     mods: u32,
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     notrefx: bool
[INFO] [stdout] 67 | | ) -> CalculatePerformanceResult {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let beatmap_path = CStr::from_ptr(beatmap_path).to_str().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | / pub unsafe extern "C" fn calculate_score(
[INFO] [stdout] 54 | |     beatmap_path: *const c_char,
[INFO] [stdout] 55 | |     mode: u32,
[INFO] [stdout] 56 | |     mods: u32,
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |     notrefx: bool
[INFO] [stdout] 67 | | ) -> CalculatePerformanceResult {
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let bytes = std::slice::from_raw_parts(beatmap_bytes, len as usize);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | / pub unsafe extern "C" fn calculate_score_bytes(
[INFO] [stdout] 138 | |     beatmap_bytes: *const u8, 
[INFO] [stdout] 139 | |     len: u32,
[INFO] [stdout] 140 | |     mode: u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 145 | |     passed_objects: FFIOption<u32>,
[INFO] [stdout] 146 | | ) -> CalculatePerformanceResult {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let bytes = std::slice::from_raw_parts(beatmap_bytes, len as usize);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:137:1
[INFO] [stdout]     |
[INFO] [stdout] 137 | / pub unsafe extern "C" fn calculate_score_bytes(
[INFO] [stdout] 138 | |     beatmap_bytes: *const u8, 
[INFO] [stdout] 139 | |     len: u32,
[INFO] [stdout] 140 | |     mode: u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 145 | |     passed_objects: FFIOption<u32>,
[INFO] [stdout] 146 | | ) -> CalculatePerformanceResult {
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `refxpp` (lib test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `refxpp` (lib) due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e43c1167d30c6ed5d9e4f7f3b1aa9cb77917da6952bcc5099ea0b85e0ddae95d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e43c1167d30c6ed5d9e4f7f3b1aa9cb77917da6952bcc5099ea0b85e0ddae95d", kill_on_drop: false }`
[INFO] [stdout] e43c1167d30c6ed5d9e4f7f3b1aa9cb77917da6952bcc5099ea0b85e0ddae95d
